<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .error{
            outline: 1px solid red;
      
        }
        .success{
            outline: 1px solid green;
        }
    </style>
</head>

<body>
    <form action="http://baidu.com">
        <div class="ipt-group">
            <label for="username">用户名:</label>
            <input type="text" class="" id="username">
        </div>

        <div class="ipt-group">
            <label for="pwd">密码:</label>
            <input type="password" id="pwd">
            <span class="tip"></span>
        </div>

        <div class="ipt-group">
            <label for="repPwd">密码:</label>
            <input type="password" id="repPwd">
            <span class="tip"></span>
        </div>
        <div class="ipt-group">
            <label for="email">邮箱:</label>
            <input type="email" id="email">
            <span class="tip"></span>
        </div>

        <button id="submit">提交</button>
    </form>
    <script src="./index.js"></script>
    <script src="./reg.js"></script>
</body>

</html>